package com.hshx.client;

import com.hshx.pojo.Grant;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "gateway",
        path = "/salaryService",
        contextId = "GrantClient")
public interface GrantClient {
    @RequestMapping("/addGrantAll")
    boolean addGrantAll(Grant grant);
    @RequestMapping("/deleteID")
    boolean deleteID(Integer grant_id);
    @RequestMapping("/deleteIDList")
    boolean deleteIDList(String salary_id_list);
}
